package com.foreveredu.propms.web.struts.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.foreveredu.propms.service.IChargeService;

/**
 * 处理执行房产初始化操作请求
 * @author hushigang
 *
 */
public class InitHouseAction extends AbstractBaseDispatchAction {

	private IChargeService chargeService = null;

	public IChargeService getChargeService() {
		return chargeService;
	}
	
	public void setChargeService(IChargeService chargeService) {
		this.chargeService = chargeService;
	}

	// 跳转到小区初始化页面
	public ActionForward init(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		//获得当前物业管理员所在的物业服务处
		return mapping.findForward("init");
	}

	// 保存小区初始化日期
	public ActionForward save(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {

		return mapping.findForward("save");
	}

}
